<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/member/memberInfo/save}">
        <input type="hidden" name="id" th:if="${memberInfo}" th:value="${memberInfo.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="nickname" placeholder="请输入昵称" th:value="${memberInfo?.nickname}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">头像</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="headimg" placeholder="请输入头像" th:value="${memberInfo?.headimg}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">openid</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="openid" placeholder="请输入openid" th:value="${memberInfo?.openid}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">注册时间</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="registerDate" placeholder="请输入注册时间" th:value="${memberInfo?.registerDate}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">余额</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="money" placeholder="请输入余额" th:value="${memberInfo?.money}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">积分</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="score" placeholder="请输入积分" th:value="${memberInfo?.score}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发帖数</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="messagenum" placeholder="请输入发帖数" th:value="${memberInfo?.messagenum}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所属城市</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="city" placeholder="请输入所属城市" th:value="${memberInfo?.city}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">电话</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="mobile" placeholder="请输入电话" th:value="${memberInfo?.mobile}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">地址</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="address" placeholder="请输入地址" th:value="${memberInfo?.address}">
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>